home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1461.dms / var1461.adf / 3D / Box3D.c < prev    next >
Text File  |  1992-05-18  |  5KB  |  118 lines

  1. /***********************************************************/
  2. /*                                                         */
  3. /* Amiga C Encyclopedia (ACE) V3.0      Amiga C Club (ACC) */
  4. /* -------------------------------      ------------------ */
  5. /*                                                         */
  6. /* Book:    ACM Graphics                Amiga C Club       */
  7. /* Chapter: 3D Graphics                 Tulevagen 22       */
  8. /* File:    Box3D.c                     181 41  LIDINGO    */
  9. /* Author:  Anders Bjerin               SWEDEN             */
  10. /* Date:    92-04-28                                       */
  11. /* Version: 1.00                                           */
  12. /*                                                         */
  13. /*   Copyright 1992, Anders Bjerin - Amiga C Club (ACC)    */
  14. /*                                                         */
  15. /* Registered members may use this program freely in their */
  16. /*     own commercial/noncommercial programs/articles.     */
  17. /*                                                         */
  18. /***********************************************************/
  19.  
  20. /* In this example we will rotate a 3D-rectangle. We will */
  21. /* turn it in all three dimensions (x, y and z) and use   */
  22. /* perspective (the further away from the eye the smaller */
  23. /* the object will be).                                   */
  24. /*                                                        */
  25. /* The object should look like this:                      */
  26. /*                                                        */
  27. /*                                                        */
  28. /*       +---------+                                      */
  29. /*      /|        /|                                      */
  30. /*     / |       / |                                      */
  31. /*    +--+------+  |                                      */
  32. /*    |  |      |  |                                      */
  33. /*    |  |      |  |                                      */
  34. /*    |  |      |  |                                      */
  35. /*    |  |      |  |                                      */
  36. /*    |  |      |  |                                      */
  37. /*    |  |      |  |                                      */
  38. /*    |  |      |  |                                      */
  39. /*    |  |      |  |                                      */
  40. /*    |  |      |  |                                      */
  41. /*    |  |      |  |                                      */
  42. /*    |  |      |  |                                      */
  43. /*    |  |      |  |                                      */
  44. /*    |  |      |  |                                      */
  45. /*    |  |      |  |                                      */
  46. /*    |  |      |  |                                      */
  47. /*    |  |      |  |                                      */
  48. /*    |  |      |  |                                      */
  49. /*    |  |      |  |                                      */
  50. /*    |  |      |  |                                      */
  51. /*    |  |      |  |                                      */
  52. /*    |  |      |  |                                      */
  53. /*    |  |      |  |                                      */
  54. /*    |  |      |  |                                      */
  55. /*    |  |      |  |                                      */
  56. /*    |  |      |  |                                      */
  57. /*    |  |      |  |                                      */
  58. /*    |  +------|--+                                      */
  59. /*    | /       | /                                       */
  60. /*    |/        |/                                        */
  61. /*    +---------+                                         */
  62.  
  63. I am sorry but this file is only available for registered
  64. members. 
  65.  
  66. The registration fee is only £30, $60, SEK 300, or similar
  67. amount in your own currency (price includes everything). The
  68. Amiga C Encyclopedia is the largest collection of documents,
  69. examples and utilities in C for the Amiga and it is still among
  70. the cheapest manuals. But this is not all, a registered owner
  71. will also get:
  72.  
  73.   1. Two disks containing the last parts of the encyclopedia.
  74.      The disks will be sent by first class air mail.
  75.  
  76.   2. Registration card for the Amiga C Club (ACC).
  77.  
  78.   3. Immediate information about updates.
  79.  
  80.   4. Updated versions of the encyclopedia for only the cost of
  81.      disks plus postage and packing.
  82.  
  83.   5. Assistance with digitizing colour pictures and sampling
  84.      sound effects.
  85.  
  86.   6. Unlimited help with your C programs. You never have to be
  87.      alone with your problems.
  88.  
  89.   7. The right to use parts of the manual in your own
  90.      commercial/non-commercial programs/articles.
  91.  
  92. Can any other manual give you all this???
  93.  
  94. The simplest way of paying is to include the money in a letter
  95. in cash. US dollar bills, English pounds or Swedish SEK are
  96. preferred, but all currencies are accepted. You can also send
  97. the money as a "Postal Money Order", ask your local bank or
  98. post office. Please do not use cheques. It is sadly extremely
  99. expensive to cash a foreign cheque here in Sweden.
  100.  
  101. If you live in Scandinavia you can send the money to "Svenska
  102. Post Girot, postgiro konto: 641 88 30 - 3, betalnings-
  103. mottagare: Datra".
  104.  
  105. Please send the registration fee together with your complete
  106. address to:
  107.  
  108.   Datra, Amiga C Club
  109.   Anders Bjeri
  110.   Tulevagen 22
  111.   181 41  LIDINGO
  112.   SWEDEN
  113.  
  114. I have worked for more than four years now with this
  115. encyclopedia, and with your help I can continue to improve it.
  116.  
  117. Happy programming!!!
  118.